﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;
using System.Collections;
namespace BUS
{
    public class DoanhNghiepBUS
    {
        protected DoanhNghiepDAO dn = new DoanhNghiepDAO();
        public DataTable layThongTinDoanhNgiep(string key)
        {
            return dn.layThongTinDoanhNgiep(key);
        }
        public int xoaThongTinDoanhNghiep(string maDoanhNghiep)
        {
            return dn.xoaThongTinDoanhNghiep(maDoanhNghiep);
        }
        public int capNhatTaiKhoanDoanhNghiep(DoanhNghiepDTO dto)
        {
            return dn.capNhatTaiKhoanDoanhNghiep(dto);
        }
        public int themDoanhNghiepMoi(DoanhNghiepDTO dto)
        {
            return dn.themDoanhNghiepMoi(dto);
        }
        public bool kiemTraTaiKhoanDoanhNghiep(string taiKhoan)
        {
            return dn.kiemTraTaiKhoanDoanhNghiep(taiKhoan);
        }
    }
}
